package com.newer.pojo.sys;

import java.io.Serializable;

public class Subarea implements Serializable{
    /**
	 * 默认id
	 */
	private static final long serialVersionUID = 1L;

	private String id;//分区编号

    private String decidedzoneId;//定区编号

    private String regionId;//区域编号

    private String addresskey;//关键字

    private String startnum;//起始号

    private String endnum;//终止号

    private String single;//单双号

    private String position;//位置信息

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDecidedzoneId() {
        return decidedzoneId;
    }

    public void setDecidedzoneId(String decidedzoneId) {
        this.decidedzoneId = decidedzoneId == null ? null : decidedzoneId.trim();
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId == null ? null : regionId.trim();
    }

    public String getAddresskey() {
        return addresskey;
    }

    public void setAddresskey(String addresskey) {
        this.addresskey = addresskey == null ? null : addresskey.trim();
    }

    public String getStartnum() {
        return startnum;
    }

    public void setStartnum(String startnum) {
        this.startnum = startnum == null ? null : startnum.trim();
    }

    public String getEndnum() {
        return endnum;
    }

    public void setEndnum(String endnum) {
        this.endnum = endnum == null ? null : endnum.trim();
    }

    public String getSingle() {
        return single;
    }

    public void setSingle(String single) {
        this.single = single == null ? null : single.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", decidedzoneId=").append(decidedzoneId);
        sb.append(", regionId=").append(regionId);
        sb.append(", addresskey=").append(addresskey);
        sb.append(", startnum=").append(startnum);
        sb.append(", endnum=").append(endnum);
        sb.append(", single=").append(single);
        sb.append(", position=").append(position);
        sb.append("]");
        return sb.toString();
    }
}